package com.ldk.pojo;

import java.io.Serializable;

/**
 * Type类与tb_type表实现ORM
 * 当表的字段与实体类属性不一致的时候  不规范字段
 */
public class Type implements Serializable {
    private Integer id;         //对应tb_type表的id字段
    private String typeName;     //对应tb_type表的type_name字段
    private String typeInfo;     //对应tb_type表的type_info字段
    private String title;    //对应tb_type表的type_title字段

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeInfo() {
        return typeInfo;
    }

    public void setTypeInfo(String typeInfo) {
        this.typeInfo = typeInfo;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    @Override
    public String toString() {
        return "Type{" +
                "id=" + id +
                ", typeName='" + typeName + '\'' +
                ", typeInfo='" + typeInfo + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
